Estoy usando este comando para ejecutar un proyecto hugo en mi MacBook Pro con chip M1:
hugo new site example cd example hugo serverel registro de salida como este:
➜ example hugo server Start building sites … hugo v0.92.0+extended darwin/arm64 BuildDate=unknown WARN 2022/03/27 15:49:33 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination. WARN 2022/03/27 15:49:33 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination. WARN 2022/03/27 15:49:33 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination. | EN -------------------+----- Pages | 3 Paginator pages | 0 Non-page files | 0 Static files | 0 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Built in 4 ms Watching for changes in /example/{archetypes,content,data,layouts,static} Watching for config changes in /example/config.toml Environment: "development" Serving pages from memory Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender Web Server is available at http://localhost:1313/ (bind address 127.0.0.1) Press Ctrl+C to stop WARN 2022/03/27 15:49:36 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.cuando accedo a la url http://localhost:1313/, la página web estaba en blanco. ¿por qué pasó esto? que debo hacer para arreglarlo? Al menos haz que muestre la página predeterminada.
También puede obtener este error (CON un contenido/_index.html y los diseños/index.html correspondientes) si no define su tema en config.toml (DAMHIKT)